home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-01 / lcppb.zip / LCPPANS.ZIP / RAIN1.CPP < prev    next >
C/C++ Source or Header  |  1991-07-08  |  438b  |  21 lines

  1. // rain1.cpp -- Use input stream to read a floating point value
  2.  
  3. #include <iostream.h>
  4.  
  5. main()
  6. {
  7.   float rainFall;
  8.  
  9.   cout << "Enter rain fall in inches: ";
  10.   cin >> rainFall;
  11.   cout << "You entered : " << rainFall;
  12. }
  13.  
  14.  
  15. // Copyright (c) 1990 by Tom Swan. All rights reserved
  16. // Revision 1.00    Date: 10/23/1990   Time: 03:52 pm
  17.  
  18. // Revision 1.01    Date: 07/08/1991   Time: 05:41 pm
  19. // Converted for Borland C++ 2.0
  20.  
  21.